<?xml version="1.0" encoding="UTF-8"?>
<!-- vim: ts=2 sw=2
-->
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
  <xsl:output method="html" encoding="UTF-8"/>
  <xsl:template match="/">
    <html>
      <head><title>busata log (size: <xsl:value-of select="count(statuses/status)"/>)</title></head>
      <body>
        <table><tr style="background: gray; color: white;"><th>ID</th><th>TEXT</th><th>DATE</th></tr>
          <xsl:for-each select="statuses/status">
            <xsl:sort select="created_at/@epoch" order="descending"/>
            <tr>
              <td style="color: #333; font-size: x-small;"><xsl:value-of select="id"/></td>
              <td><xsl:value-of select="text"/></td>
              <td style="color: #333; font-size: small;"><xsl:value-of select="created_at"/></td>
            </tr>
          </xsl:for-each>
        </table>
    </body></html>
  </xsl:template>
</xsl:stylesheet>
